win32job
A safe API for Windows' job objects, which can be used to set various limits to processes associated with them.
# Cargo.toml
[]
= "1"
Examples
Limit the amount of memory that will be available for this process (allocating more memory is still possible, but it will be paged):
use ;
Force any created sub processes to exit when the main process exits:
use Job;
use Command;
License
The win32job
crate is licensed under either of
Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.